From: JimMatthew Date: Mon, 11 Aug 2025 03:33:06 +0000 (-0500) Subject: luci-app-unbound: Stat Scroll Behavior X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=7723fb2eada8c08b3d823b92d6d2a18010e0e18b;p=project%2Fluci.git luci-app-unbound: Stat Scroll Behavior Don't scroll to bottom of text area for stats on every poll. Signed-off-by: JimMatthew --- diff --git a/applications/luci-app-unbound/htdocs/luci-static/resources/view/unbound/status.js b/applications/luci-app-unbound/htdocs/luci-static/resources/view/unbound/status.js index 84efced65e..49e1a47e7d 100644 --- a/applications/luci-app-unbound/htdocs/luci-static/resources/view/unbound/status.js +++ b/applications/luci-app-unbound/htdocs/luci-static/resources/view/unbound/status.js @@ -44,7 +44,6 @@ return view.extend({ return L.resolveDefault(fs.exec_direct('/usr/sbin/unbound-control', ['-c', '/var/lib/unbound/unbound.conf', 'stats_noreset'])).then(function(res) { const stats = document.getElementById("stats"); stats.value = res ? res.trim() : _('No stats yet!'); - stats.scrollTop = stats.scrollHeight; }); }); // Local Data